<div id="wrapper-content" align="left">

    <div id="titre_list_produit"><?php echo $langue['commande']; ?></div>
    <div id="wrapper_commande" align="left">
        <?php if (!empty($commande)) {
 ?>
            <table id="list_commande" cellpadding="0" cellspacing="0" width="100%">
                <thead>
                <th align="left">Nb <?php echo $langue['facture']; ?></th>
                <th align="left">Date</th>
                <th align="left"><?php echo $langue['montant']; ?></th>
                <th align="left"><?php echo $langue['method_payement']; ?></th>
                <th align="left">Livraison</th>
                <th align="left">Detail</th>
                </thead>
<?php foreach ($commande as $aRow): ?>
                <tr>
                    <td><?php echo $aRow['id']; ?></td>
                    <td><?php echo convertdate($aRow['dat']); ?></td>
                    <td><?php echo $aRow['montant']; ?></td>
                    <td><?php echo $aRow['methodnom']; ?></td>
                    <td><?php if ($aRow['livre'] != "")
                    echo "Livr&eacute;"; else
                    echo "Encours"; ?></td>
                    <td><a href="<?php echo site_url('client/detail_commande/' . $aRow['id']); ?>" class="link_detail">Detail</a></td>
                </tr>
        <?php endforeach; ?>
                </table>
                <br/>
<?php echo $pagination; ?>
<?php } else
                echo "aucun commande"; ?>
    </div>
    <!--end wrapper_commande-->

</div>

<!--end wrapper-content-->